using System;
using System.ServiceModel;
using Xyz.Service.DataTransferObjects;

namespace Xyz.Service.ServiceContracts
{
    [ServiceContract(SessionMode = SessionMode.Required)]
    public interface IFlightSeatService
    {
        [OperationContract]
        Boolean IsBookedSeat(int flightId, int aircraftSeatId);

        [OperationContract]
        FlightSeatDTO SaveBlockFlightSeat(FlightSeatDTO flightSeatDto);

        [OperationContract]
        void CancelBlockFlightSeat(int flightSeatId);
    }
}